package com.crm.dao.mapper.customMapper.reminditemCustomMapper;

import com.crm.model.vo.reminditem.RelatedRemindVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RemindItemCustomMapper {


    /**
     * @Description: 根据主键删除提醒事项
     * @Param: [id, deleteStatus]
     * @Return: Boolean
     * @Author: lixq-f
     * @Date: 2021/4/20
    **/
    Boolean deleteById(@Param("id") String id, @Param("deleteStatus") short deleteStatus);


    /**
     * @Description: 批量删除提醒事项
     * @Param: [ids, deleteStatus]
     * @Return: Boolean
     * @Author: lixq-f
     * @Date: 2021/4/20
    **/
    Boolean batchDeleteByIds(@Param("ids") List<String> ids, @Param("deleteStatus") short deleteStatus);

    /***
     * @Description:获取相关提醒列表
     * @param accountId 账号id
     * @param selectDate 查询日期
     * @Author: luojie
     * @Date: 2021/4/27 8:41
     */
    List<RelatedRemindVO> selectRelatedRemindList(@Param("accountId") String accountId,@Param("selectDate") Date selectDate,@Param("orderStr") String orderStr);


}
